home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Zoom 2
/
Zoom - Release 2 (1996)(Active Software)[!].iso
/
gs_demo
/
aag_info
next >
Wrap
Text File
|
1996-06-04
|
12KB
|
209 lines
////////////////////////////////////////////////////////////////////////////////////////////////////////
// Name: AAG Draft Programmers command outline.
// Author: Steven Mortimer/Chris Wiles
// Rights: Active Software//Steven Mortimer
// Notes:
////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////
// Page Identification ////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////
@NODE "node name" // Header _MUST_ be present.
@ENDNODE
////////////////////////////////////////////////////////////////////////////////////////////////////////
// Page Navigation ////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////
@PREV "current prev node name" // Optional, If not present, Button will be deactiveated
@NEXT "current next node name" // Optional, If not present, Button will be deactiveated
@FIRST "first node name" // Optional, If not present, Button will be deactiveated
@LAST "last node name" // Optional, If not present, Button will be deactiveated
////////////////////////////////////////////////////////////////////////////////////////////////////////
// Text Formatting ////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////
@MARGIN left margin Sets left margin
@WIDTH pixelwidth Sets width of column. Defaults to @MARGIN 10 @WIDTH 620
@CENTER text to center Centers the next line only.
@GOTO Xpos,Ypos Goto absoute pixel Position. IE @GOTO 10,10
@COLOUR x (where x is one of ) CYAN,BLACK,,GREY,LIGHTGREY,WHITE,BRIGHTWHITE,DARKRED,RED,LIGHTRED,DARKGREEN
GREEN,LIGHTGREEN,DARKORANGE,LIGHTORANGE,YELLOW,DARKBLUE,BLUE,LIGHTBLUE
BROWN,DARKPURPLE,PURPLE,LIGHTPURPLE,PINK,PURPLEBLUEWITHYELLOWDOTS:)
////////////////////////////////////////////////////////////////////////////////////////////////////////
// Misc Text Commands /////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////
@FONT "Font name" Changes the current font to xx
////////////////////////////////////////////////////////////////////////////////////////////////////////
// Page Linking ///////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////
@{"text" [link commands]}
////////////////////////////////////////////////////////////////////////////////////////////////////////
// Image's and Gadgets ////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////
@IMAGE {"name"|Xpos/Ypos [link commands]}
////////////////////////////////////////////////////////////////////////////////////////////////////////
// {} commands /////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////
link "..." Node or file/node to link to when clicked
help "..." Help text to be displayed in help bar
dict "..." Dictionary page to be loaded when clicked
mod "..." Mod name to be loaded and played when clicked
@IMAGE {"name"|Xpos/Ypos link "filename/node name" help "text" mod "mod to play" dict "search text"}
note: you can link zones, so one effects the rest of the chain.
@IMAGE {} can now be used within the link to chain images.. i.e.
@IMAGE {"fred"|10,10 help "whatever" @IMAGE{"fred2"|65,65 help "what" link "whereever"}}
////////////////////////////////////////////////////////////////////////////////////////////////////////
// Graphics Functions /////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////
@LINE x1,y1 to x2,y2[,colour] Draws a line in current colour
@BOX x1,y1 to x2,y2[,colour] OutLine box in current colour
@BAR x1,y1 to x2,y2[,colour] Solid Box in current colour
@ARROW x1,y1 to x2,y2[,colour] Draws and Arror FROM x1,y1 TO x2,y2
@ELLIPSE x1,y1 size xwidth,ywidth[,colour] Draws outline ellipse in current colour
@FELLIPSE x1,y1 size xwidth,ywidth[,colour] Draws Solid ellipse in current colour
@RBAR x1,y1 to x2,y2[,colour] Raised Solid Box in current colour
@LBAR x1,y1 to x2,y2[,colour] Lowered Solid Box in current colour
@RELLIPSE x1,y1 size xwidth,ywidth[,colour] Raised Solid ellipse in current colour
@LELLIPSE x1,y1 size xwidth,ywidth[,colour] Raised Solid ellipse in current colour
////////////////////////////////////////////////////////////////////////////////////////////////////////
// Notes: /////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////
.oO '' can be used instead of ""
.oO "" sorounding text are only needed if the text has spaces.
eg.
@IMAGE {fred.gad|10/10} Is Valid
@image {'fred".gad"|10/10} Is Valid
@Image {"fred".gad"|10/10} Is Valid
@ImAgE {"freds'old image"|10/10} Is Valid
@IMAGE {'freds'old image'|10/10} Is Invalid
@IMAGE {freds'old image|10/10} Is Invalid
.oO Fresh node will reset to following automatically
@FONT helvetica.12.mfont
@MARGIN 10
@WIDTH 620
@COLOUR WHITE
@GOTO 10/0
@SPACING 10
@COLUMNS 1
////////////////////////////////////////////////////////////////////////////////////////////////////////
// New Commands ////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////
@SPACING xx Where xx is line spaceing in pixels (Default to 10) (font sensative)
@SETZONE x,y,width,height,columns This is a bit tricky, so try it and see.
Sets up a text zone on the screem at co-ords x,y to x+width,y+height
and divides it into x columns, each equally spaced. The following
commands break the text zone and revert to normal, uncolumed printing
@GOTO
@MARGIN
@WIDTH
@CENTER - Each of these set up the default text zone (the whole screen)
and then override the relevent parameter.
Default text zone, which is set up for a fresh page etc is
@SETZONE 10,10,620,430,1
¤ preforms a column break, is moves to the top of the next coloum (Alt &y = ¤)
@PAGE "xxx" Appears in Page slot at bottom of page
@SECTION "xxx" Appears in Section slot at bottom of page
@ZONE {X,Y,Width,Height link commands} Invisable mouse zone...
@IZONE {X,Y,Width,Height link commands} Invisable mouse zone, imidiate, does not wait for mouse...
////////////////////////////////////////////////////////////////////////////////////////////////////////
// Comming soon to an AAG near you :- //////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////
@ARROW x,y TO x,y,[colour] Draws an arrow (point at secound co-ords).
@ANIM {"name"|Xpos/Ypos [link commands] }
Plays anim on screen acording to anim script
@SAMPLE "name",XX where XX is ON or OFF, meaning LOOP ON or LOOP OFF.
Plays sample instantly upon loading... Will terminate upon change of page
see sample player details.
more {} commands :-
endanim "name"|Xpos/Ypos Plays anim when selected (not clicked..)
remote "name"|Xpos/Ypos Toggles gadget at remote place when mouse is over zone. (ie title screen). Can
also be used to have 3 phaze anim on buttons... Highlights when mouse over it, and
somthing else when clicked...
samdown "name" plays sample when clicked down
samup "name" plays sample when let go (up...)
////////////////////////////////////////////////////////////////////////////////////////////////////////
// History /////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////
19/04/96
.oO Fixed node not found/file not found
.oO Fixed Quotes Problem
.oO Added @IZONE for Imidiate Zone
09/04/96
.oO Added @ZONE
.oO Added remote images in link commands
14/03/96:
.oO Added Retrace cache/cache clear.
.oO Added Font Cache Prune/Clear (Finally....)
.oO Added Image Cache Prune/Clear (Finally....)
13/03/96:
.oO Added Section Command
.oO Added Page Command
.oO Printing Section / Page in correct place
12/03/96:
.oO Added Text Zones and Columns
.oO Added Line Spaceing command
11/03/96:
.oO Started Machine Code implementation of sample routines
.oO Sampled Eagles Hotel Cal.. On da PC (16bit)
10/03/96:
.oO Sampled Eagles Hotel Cal.. On da Amiga (8bit)
.oO Completed Amos Sample player
09/03/96:
.oO PLayer C&C after handing in Assignment :)
.oO Ideas for Amos Sample Player
////////////////////////////////////////////////////////////////////////////////////////////////////////
// Sample Player details ///////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////
After playing Command and Conquer, and listening to the sound track, I thought.. 'Hang on, PC's sound aint
this good.. whats going on here?' Turns out that the music was a 56Meg file. One sample ~60 mins long at 11k/s
played from disk.
Let me tell you something. One day Im gonna write a game for the decent amiga. i.e. 6Mb 030 Hard disk
only proberbly needing 50Mb on the hard drive, and Im gonna do the sound track like that of C&C. One fuck off
long sample played at a decent sample rate in stereo... So Im writing the play routine now for GS.
Its gonna be able to accept commands from GS, play this sample, Play that sample, and its gonna handle it
all in the background.
I have already had a BK sample player in amos (yep.. amos) that was happily playing Eagles hotel cal. at
20K/s in stereo... Nice.. ill zip it to you one day.
Dont know why Im typing this.... Laters bud.